A dynamic-link library (DLL) file is an executable file that allows programs to share code and other resources necessary to perform particular tasks. DLL files contain functions and resources that allow Windows-based programs to operate in the Windows environment.